package com.lsh.airticket.service;

import com.lsh.airticket.entity.Passenger;

import java.util.List;

/**
 * @author lsh
 * @date 2021/2/19
 **/
public interface PassengerService {

    //添加 一条 Passenger
    int addPassenger(Passenger passenger);

    // 查找该用户下面的 passenger
    List<Passenger> findPassengerByUserId(Integer userId);
}
